package com.ljt.disruptordemo;

import com.lmax.disruptor.EventHandler;

public class MyEventHandler implements EventHandler<MyEvent> {
    @Override
    public void onEvent(MyEvent myEvent, long sequence, boolean endOfBatch) {
        System.out.println("Processing myEvent: " + myEvent.getData());
    }
}